package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 报价-项目进度文件(ItemPlanFile)表实体类
 *
 * @author yxy
 * @since 2024-10-24 14:47:01
 */
@Data
@ApiModel("报价-项目进度文件")
@TableName(value = "tb_item_plan_file")
public class ItemPlanFile extends Model<ItemPlanFile> implements Serializable {
    private static final long serialVersionUID = 345442785781115912L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("项目进度id")
    private Long itemPlanId;

    @ApiModelProperty("项目阶段0勘察设计、1备案、2采购、3施工、4并网")
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("上传时间")
    private Date createTime;

    @ApiModelProperty("文件")
    private String file;
}
